package com.hdsx.restful.glzt.structure.ql.service;

import java.util.List;
import java.util.Map;

import com.hdsx.restful.glzt.roadline.lxxx.bean.Znode;
import com.hdsx.restful.glzt.structure.ql.bean.Ql;
import com.hdsx.restful.glzt.structure.ql.bean.StatisticalResult;
import com.hdsx.restful.util.Dao;

public interface QlServer {

	List<Ql> getListByLxbm(String lxbm,int begin,int end);

	int queryQlCountByLxbm(String lxbm);

	int queryCount(String lxbm,String xzqhbm,String sxxfx,Double qdzh,Double zdzh,String name);

	List<Ql> queryList(String lxbm,String xzqhbm,String sxxfx,Double qdzh,Double zdzh,String name, int begin, int end);

	Ql getOne(String qldm);

	List<Ql> getListByXzqhbm(String xzqhbm, int begin, int end);

	int queryQlCountXzqhbm(String xzqhbm);

	List<Ql> countQlkjfldmByXzqhbm(String xzqhbm);

	List<Ql> countQlkjfldmByLxbm(String lxbm);

	List<Dao> getShapeById(String id);
	
	StatisticalResult countByParameter(Map<String,Object> map);
	/**
	 * 路线上的桥梁
	 * @return
	 */
	List<Znode> qlNode(); 
	
	List<Ql> detail(Map<String,Object> map);
	int countTotal(Map<String, Object> map);
	List<Ql> listAll(String lxbm,String xzqhbm,String sxxfx,Double qdzh,
			Double zdzh,String name);
	Ql queryById(String id);
	int countDetail(Map<String, Object> map);
	List<String> selectName(String name);
}
